package indi.zhifa.engine.test2.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import indi.zhifa.core.mpenhance.entity.po.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class EnpBaseEntity extends BaseEntity {
    @TableField(fill = FieldFill.INSERT)
    Long enpId;
    @TableField(fill = FieldFill.INSERT)
    String enpCode;
    @TableField(fill = FieldFill.INSERT)
    String enpName;

    @Override
    public void createInit(){
        super.createInit();
        enpId = 0L;
        enpCode = "sys";
        createId = 0L;
        createName = "sys";
        createTime = LocalDateTime.now();
    }
}
